package stego.StegoCreator;

import Main.Main;
import StegoGUI.StegoFileSelection;
import java.io.File;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.imageio.ImageIO;
import stego.Drivers;
import stego.StegoCaller.Caller_Encryption_XOR;
import stego.btoS;

public class StegoExtractor
{

    File fleCarrierImage;
    int numBytesToExtract;
    int myFragmentNumber;
    int totalNumberOfFragments;
    String strBatchIdentifier;
    int fileTypeNumber;
    String strFileExtension;
    String strExtractedMessage;
    byte extractedBytes[];
    private static String strMyClassName = "StegoExtractor";
    public static final int index_ExtractedNumBytes_EMBEDDED = 0;
    public static final int index_ExtractedBatchIdentifier = 1;
    public static final int index_ExtractedFragmentIndex = 2;
    public static final int index_ExtractedTotalNumFragments = 3;
    public static final int index_ExtractedFileTypeNumber = 4;
    public static final int index_ExtractedFileExtension = 5;
    public static final int index_ExtractedMessage = 6;
    java.awt.image.BufferedImage image;
    boolean loadJPEG_TO_PNG;
    public boolean completed_SUCCESSFULLY;
    ArrayList alExtractedData;

    public StegoExtractor(boolean decryptExtractedMessage, File fleToExtrct, int numBytesRead, int fragNum, int totalCarriers, boolean thisIsExtractingOverhead_ONLY, File encryption_JAR_Path, 
            File encryptionKey)
    {
               //mods in the works...
    }

    public byte[] decryptByteArray(File fleEncryption_JAR, boolean decryptByteArray, File encrypKeyPath, byte message_To_Decrypt[], File fleOutDirectory, File carrierImage)
    {
               //mods in the works...
        return message_To_Decrypt;
    }

           //mods in the works...

}
